import useBarChart from './useBarChart';
import useTooltip from './useTooltip';

export default function useCharts() {
  const { tooltipFormatter } = useTooltip();
  const { createCustomSeries, createSeriesBarTopRectRenderItem } = useBarChart();
  return {
    tooltipFormatter,
    createCustomSeries,
    createSeriesBarTopRectRenderItem
  };
}
